'use strict';
(function() {

    ngApp.directive("appHeader", ['AppConfigConstant', function(AppConfigConstant) {
        var appBasePath = AppConfigConstant.APP_BASE_PATH;
        return {
            'restrict': 'E',
            'replace': false,
            templateUrl: appBasePath + "common/directive/app-header/view/app-header.html",
            controller: function($scope, $element) {
                // var headerNavItems = [];
                // var allItems = $scope.AllNavItems;

                // angular.forEach(allItems, function(item){
                //     if(item.state.indexOf(".") == -1 && !item['hidden']){
                //         headerNavItems.push(item);
                //     }
                // });
                // $scope.headerNavItems = headerNavItems;
            }
        };
    }]);

})();
